package com.zoey.boot.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description: 学生实体类
 * @Author: daniel
 * @Date: 2023-12-06 11:48
 * @Version: 1.0
 **/
@Data
@Component
@ConfigurationProperties(prefix = "school.student")
public class Student {
    private Integer id;
    private String name;
    private Integer age;
}
